package dao.mysql.util;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public abstract class MySQLUtility {
	private final static String URL = "jdbc:mysql://localhost:3306/FBS";
	private final static String USERNAME = "root";
	private final static String PASSWORD = "password";

	public static Connection getConnection() throws SQLException, ClassNotFoundException {
		Class.forName("com.mysql.jdbc.Driver");
		
		Connection con = DriverManager.getConnection(URL, USERNAME, PASSWORD);

		return con;
	}
}
